<!-- 日期选择 开始 -->
<script src="{:config('template.skin')}/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js" type="text/javascript"></script>
{if input('lang') eq 'cn'}
<script type="text/javascript" src="{:config('template.skin')}/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
{/if}
<script type="text/javascript">
    $(".form_datetime").datetimepicker({
        format: "yyyy-mm-dd hh:ii:ss",
        autoclose: true,
        todayBtn: true,
        {if input('lang') eq 'cn'}
        language: 'zh-CN',
        {/if}
        pickerPosition: "bottom-left"
    });
</script>
<!-- 日期选择 结束 -->